package c.x.jy.admin.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

//@SuppressWarnings("all")
 @Configuration
//@ComponentScan(basePackages = "org.sang.javassm")
 public class SpringMVCConfig  extends WebMvcConfigurationSupport {

	   @Override
	    protected void addResourceHandlers(ResourceHandlerRegistry registry) {
	     registry.addResourceHandler("/**").addResourceLocations("/");
	    }
} 
